package com.qf.advice;

import org.springframework.aop.MethodBeforeAdvice;

import java.lang.reflect.Method;

/**
 * @ClassName MyaMethodInterceptor
 * @Author xiao宋
 * @Date 15:25  2022/9/27
 * @Version 1.0
 * @Description 前置通知类
 */
public class MyaMethodInterceptor implements MethodBeforeAdvice {
    @Override
    public void before(Method method, Object[] args, Object target) throws Throwable {
        System.out.println("\t\t前置通知错误");
    }
}
